package com.hzw.saas.api.workspace.bo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 用户工作实例记录表
 * </p>
 *
 * @author sonam
 * @since 2021-02-05
 */
@Data
public class WorkRecordsBo implements Serializable {

    @ApiModelProperty("records表主键")
    private String pid;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("创建人id")
    private String creatorId;

    @ApiModelProperty("修改人id")
    private String editorId;

    @ApiModelProperty("逻辑删除1：删除，0：为删除")
    private Integer isDelete;

    @ApiModelProperty("实例id")
    private String instanceId;

    @ApiModelProperty("实例启动时间")
    private LocalDateTime startTime;

    @ApiModelProperty("实例关闭时间")
    private LocalDateTime endTime;

    @ApiModelProperty("本次运行消耗时间")
    private BigDecimal costTimeBySeconds;

    @ApiModelProperty("family")
    private String instTaskFamily;

    @ApiModelProperty(value = "版本号", notes = "暂时用来区分实例列表中相同的实例")
    private Integer instTaskRevision;
}
